package main

import(
	"fmt"
	"io/ioutil"
)

func main(){
	data,err := ioutil.ReadFile("test.txt")
	if err != nil{
		fmt.Println("file reading error",err)
		return
	}

	fmt.Println("contents os file:",string(data))
}